<?php

// 本类由系统自动生成，仅供测试用途

namespace Admin\Controller;

use Think\Controller;

class IndexController extends CommonController {

    public function _initialize() {
        parent::_initialize();
    }

    public function index() {
        $this->display();
    }

    function man() {
        //统计信息
        //
        // $this->chn_c = M('Case')->where(array('lang'=>0))->count();
        // $this->eng_c = M('Case')->where(array('lang'=>1))->count();

        $this->version = "<font color=red>V1.0-140415 Bate</font>";
        $this->tpv = THINK_VERSION;
        $this->hosts = $_SERVER["HTTP_HOST"];
        $this->seros = php_uname();
        $this->phpv = PHP_VERSION;
        //$this->mysql = mysql_get_server_info();
        $res = mysql_query("select VERSION()");
        $mysql = mysql_fetch_row($res);
        $this->assign('mysql', $mysql[0]);
        $this->display();
    }

}